# Productivity & Office # IBus Chinese Input Method ## Introduction Chinese input is an important feature for office use on Linux desktops. By configuring the IBus Chinese input method, users can enter Chinese text in the Debian GNOME desktop environment for daily tasks such as document editing, web browsing, and instant messaging. This document describes how to install, configure, and verify the IBus Chinese input method on the Quectel Pi M1 Debian system, helping users quickly set up a Chinese input environment. ## Applicable Scenarios After IBus is configured, Chinese text can be entered in applications such as: - Firefox browser - Text Editor - LibreOffice and other office applications - Terminal - Other applications that support GTK / Qt input frameworks ## Applicable Platform [电子表格] # Installation and Configuration ## Install IBus Packages **Note:** The following operations are performed through ABD Shell. Update the package repository: ```plaintext apt update ``` Install IBus and the Pinyin input engine: ```plaintext apt install ibus ibus-pinyin ``` ## Configure User Environment Variables Switch to the desktop user through ADB: ```plaintext su - For example:su - pi ``` Create the .xprofile file: ```plaintext cat > ~/.xprofile <space']" ``` Verify the configuration: ```plaintext gsettings get org.gnome.desktop.wm.keybindings switch-input-source ``` The following should be displayed: ```plaintext ['space'] ``` ## Configure the IBus Input Engine Configure the input engines to be loaded: ```plaintext gsettings set org.freedesktop.ibus.general preload-engines "['xkb:us::eng', 'pinyin']" ``` Check the configuration: ```plaintext gsettings get org.freedesktop.ibus.general preload-engines ``` The following should be displayed: ```plaintext ['xkb:us::eng', 'pinyin'] ``` Configure the input engine switching order: ```plaintext gsettings set org.freedesktop.ibus.general engines-order "['xkb:us::eng', 'pinyin']" ``` Check the configuration: ```plaintext gsettings get org.freedesktop.ibus.general engines-order ``` The following should be displayed: ```plaintext ['xkb:us::eng', 'pinyin'] ``` Disable the global engine: ```plaintext gsettings set org.freedesktop.ibus.general use-global-engine false ``` Check the configuration: ```plaintext gsettings get org.freedesktop.ibus.general use-global-engine ``` The following should be displayed: ```plaintext false ``` ## Restart and Verify Chinese Input After completing the above configuration, restart the device to apply the environment variables, GNOME input sources, and IBus settings. # LibreOffice Installation and Verification ## Introduction LibreOffice is a free and open-source office suite that supports common office functions such as word processing, spreadsheets, presentations, and drawing, making it suitable for everyday office use. ## Install LibreOffice ```plaintext apt install libreoffice -y ``` ## Function Verification After the installation is complete, you can use the display module to verify the corresponding functions. ### LibreOffice Main Interface ```{image} images/image_NhtVbsl65o1dY0xOQRycxsynnzf.webp :width: 1280px :height: 800px :align: center ``` ### Writer Function Verification Open **Writer**. A new text document can be created successfully, and the editing interface is displayed correctly. ```{image} images/image_Teiubl38oove8WxZB2vcVwron1E.webp :width: 1280px :height: 800px :align: center ``` ### Calc Function Verification Open **Calc**. A new spreadsheet can be created successfully, and the worksheet and toolbar are displayed correctly. ```{image} images/image_IjqnbY6FcoOLJKxWSgFckrAAnMb.webp :width: 1280px :height: 800px :align: center ``` ### Impress Function Verification Open **Impress**. A new presentation can be created successfully, and the default template can be loaded correctly. ```{image} images/image_OMuIb4Cjvoi8ucxWssycegGsnPc.webp :width: 1280px :height: 800px :align: center ``` ### Draw Function Verification Open **Draw**. A new drawing document can be created successfully, and the drawing page and toolbar are displayed correctly. ```{image} images/image_CQIbb2WsRo6sNIxzi7OcVLfrnmf.webp :width: 1280px :height: 800px :align: center ``` ### Base Function Verification Open **Base**. The Database Wizard opens successfully, allowing you to create a new database, open an existing database, or connect to an external database. The interface is displayed correctly. ```{image} images/image_NyDCbq3JpowzI2xFtX6c7tq3nCc.webp :width: 1280px :height: 800px :align: center ``` All office applications can be launched successfully, and their graphical interfaces are displayed correctly, meeting the daily office requirements of the Debian system.